package edu.neusoft.yiqibike.dao.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import edu.neusoft.yiqibike.common.entity.mysql.AccountRecord;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * <p>
 * Mapper接口
 * </p>
 *
 * @author lyc
 * @since 2017-11-19
 */
public interface AccountRecordMapper extends BaseMapper<AccountRecord> {
    void updateBalanceByUid(@Param("uid") Long uid, @Param("payment") BigDecimal payment);
    void decrFreeDay();
}